/*
 * Licensed to the OpenAirInterface (OAI) Software Alliance under one or more
 * contributor license agreements.  See the NOTICE file distributed with
 * this work for additional information regarding copyright ownership.
 * The OpenAirInterface Software Alliance licenses this file to You under
 * the OAI Public License, Version 1.1  (the "License"); you may not use this
 * file except in compliance with the License. You may obtain a copy of the
 * License at
 *
 *      http://www.openairinterface.org/?page_id=698
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 *-------------------------------------------------------------------------------
 * For more information about the OpenAirInterface (OAI) Software Alliance:
 *      contact@openairinterface.org
 */
/**
 * Nudr_DataRepository API OpenAPI file
 * Unified Data Repository Service. © 2020, 3GPP Organizational Partners (ARIB,
 * ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved.
 *
 * The version of the OpenAPI document: 2.1.2
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator
 * (https://openapi-generator.tech). https://openapi-generator.tech Do not edit
 * the class manually.
 */
/*
 * ApplicationDataChangeNotif.h
 *
 * Contains changed application data for which notification was requested.
 */

#ifndef ApplicationDataChangeNotif_H_
#define ApplicationDataChangeNotif_H_

#include <nlohmann/json.hpp>
#include <string>

#include "BdtPolicyData.h"
#include "IptvConfigData.h"
#include "PfdChangeNotification.h"
#include "ServiceParameterData.h"

namespace oai::udr::model {

/// <summary>
/// Contains changed application data for which notification was requested.
/// </summary>
class ApplicationDataChangeNotif {
public:
  ApplicationDataChangeNotif();
  virtual ~ApplicationDataChangeNotif();

  void validate();

  /////////////////////////////////////////////
  /// ApplicationDataChangeNotif members

  /// <summary>
  ///
  /// </summary>
  IptvConfigData getIptvConfigData() const;
  void setIptvConfigData(IptvConfigData const &value);
  bool iptvConfigDataIsSet() const;
  void unsetIptvConfigData();
  /// <summary>
  ///
  /// </summary>
  PfdChangeNotification getPfdData() const;
  void setPfdData(PfdChangeNotification const &value);
  bool pfdDataIsSet() const;
  void unsetPfdData();
  /// <summary>
  ///
  /// </summary>
  BdtPolicyData getBdtPolicyData() const;
  void setBdtPolicyData(BdtPolicyData const &value);
  bool bdtPolicyDataIsSet() const;
  void unsetBdtPolicyData();
  /// <summary>
  ///
  /// </summary>
  std::string getResUri() const;
  void setResUri(std::string const &value);
  /// <summary>
  ///
  /// </summary>
  ServiceParameterData getSerParamData() const;
  void setSerParamData(ServiceParameterData const &value);
  bool serParamDataIsSet() const;
  void unsetSerParamData();

  friend void to_json(nlohmann::json &j, const ApplicationDataChangeNotif &o);
  friend void from_json(const nlohmann::json &j, ApplicationDataChangeNotif &o);

protected:
  IptvConfigData m_IptvConfigData;
  bool m_IptvConfigDataIsSet;
  PfdChangeNotification m_PfdData;
  bool m_PfdDataIsSet;
  BdtPolicyData m_BdtPolicyData;
  bool m_BdtPolicyDataIsSet;
  std::string m_ResUri;

  ServiceParameterData m_SerParamData;
  bool m_SerParamDataIsSet;
};

} // namespace oai::udr::model

#endif /* ApplicationDataChangeNotif_H_ */
